package com.xmy.study.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 内容【数据】权限
 * </p>
 *
 * @author hpiggy
 * @since 2025-04-26
 */
//@TableName("auth_admin_content")
//@ApiModel(value = "AuthAdminContent对象", description = "内容【数据】权限")
@Data
public class AuthAdminContent implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("多个逗号隔开")
    private String schoolIds;

    @TableField(exist = false)
    private List<Long> schoolIdList;

    @ApiModelProperty("多个逗号隔开")
    private String subjectsIds;

    @ApiModelProperty("多个逗号隔开")
    private String yearClassIds;

    @ApiModelProperty("教师id")
    private Long teacherId;

    @ApiModelProperty("是否个人")
    @TableField(exist = false)
    private Integer isPerson = 0;

    @ApiModelProperty("是否管理员")
    @TableField(exist = false)
    private Integer isAdmin = 0;

    @ApiModelProperty("带班数据")
    @TableField(exist = false)
    private LeadDataRs leadDataRs;

    @ApiModelProperty("带班老师与分权限科目全集")
    @TableField(exist = false)
    private String combineSubjectsIds;

}
